#include "../begonia.h"
#include "monitoredbullet.h"

monitoredbullet::monitoredbullet(double tx,double ty,double tr,double tvx,double tvy,bool *ton,bullet *h):bullet(tx,ty,tr,tvx,tvy,h)
{
    on=ton;
    *on=true;
}
void monitoredbullet::clone(bullet *h)
{
    bullet *a=new bullet(x,y,r,vx,vy,h);
    a->c_r=c_r;
    a->c_g=c_g;
    a->c_b=c_b;
}
monitoredbullet::~monitoredbullet()
{
    *on=false;
}

